package com.qmctl.rest.bean.deliveryorderconfirm;
import javax.xml.bind.annotation.XmlRootElement;

import com.qmctl.rest.entity.DeliveryOrderHandleInfo;
@XmlRootElement(name="deliveryOrder")
public class DeliveryOrderClazz{

private long totalOrderLines;
private String deliveryOrderCode;
private String deliveryOrderId;
private String warehouseCode;
private String orderType;
private String status;
private String outBizCode;
private long confirmType;
private String logisticsCode;
private String logisticsName;
private String expressCode;
private String orderConfirmTime;
  public long getTotalOrderLines(){
    return totalOrderLines;
  }
  public void setTotalOrderLines(long iTotalOrderLines){
    totalOrderLines = iTotalOrderLines;
  }
  public String getDeliveryOrderCode(){
    return deliveryOrderCode;
  }
  public void setDeliveryOrderCode(String sDeliveryOrderCode){
    deliveryOrderCode = sDeliveryOrderCode;
  }
  public String getDeliveryOrderId(){
    return deliveryOrderId;
  }
  public void setDeliveryOrderId(String sDeliveryOrderId){
    deliveryOrderId = sDeliveryOrderId;
  }
  public String getWarehouseCode(){
    return warehouseCode;
  }
  public void setWarehouseCode(String sWarehouseCode){
    warehouseCode = sWarehouseCode;
  }
  public String getOrderType(){
    return orderType;
  }
  public void setOrderType(String sOrderType){
    orderType = sOrderType;
  }
  public String getStatus(){
    return status;
  }
  public void setStatus(String sStatus){
    status = sStatus;
  }
  public long getConfirmType(){
    return confirmType;
  }
  public void setConfirmType(long iConfirmType){
    confirmType = iConfirmType;
  }
  public String getLogisticsCode(){
    return logisticsCode;
  }
  public void setLogisticsCode(String sLogisticsCode){
    logisticsCode = sLogisticsCode;
  }
  public String getLogisticsName(){
    return logisticsName;
  }
  public void setLogisticsName(String sLogisticsName){
    logisticsName = sLogisticsName;
  }
  public String getExpressCode(){
    return expressCode;
  }
  public void setExpressCode(String sExpressCode){
    expressCode = sExpressCode;
  }
  public String getOrderConfirmTime(){
    return orderConfirmTime;
  }
  public void setOrderConfirmTime(String sOrderConfirmTime){
    orderConfirmTime = sOrderConfirmTime;
  }
  
  public DeliveryOrderClazz(){
  
  }
  
  public DeliveryOrderClazz(DeliveryOrderHandleInfo beanClazz){
  
    totalOrderLines = beanClazz.getTotalOrderLines();
    totalOrderLines = beanClazz.getTotalOrderLines();
    deliveryOrderCode = beanClazz.getDeliveryOrderCode();
    //deliveryOrderId =null;
    warehouseCode = beanClazz.getWarehouseCode();
    orderType = beanClazz.getOrderType();
    status = beanClazz.getStatus();
    setOutBizCode(beanClazz.getDeliveryOrderId());
    confirmType = beanClazz.getConfirmType();
    logisticsCode = beanClazz.getLogisticsCode();
    logisticsName = beanClazz.getLogisticsName();
    expressCode = beanClazz.getExpressCode();
    orderConfirmTime = beanClazz.getOrderConfirmTime();
    }
public String getOutBizCode() {
	return outBizCode;
}
public void setOutBizCode(String outBizCode) {
	this.outBizCode = outBizCode;
}
}
